﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IVR3Downloader.Class
{
    public class ProgressionFile
    {
        public int FileTotal { get; set; }
        public int FileDone { get; set; }

        public float FileNumberPercentage
        {
            get
            {
                if(this.FileTotal == 0) return 0;

                return (float)(this.FileDone * 100) / (float)this.FileTotal; 
            }
        }

    }

}
